package com.piece.mall.vo;

import com.piece.mall.model.PmsAttr;
import com.piece.mall.model.PmsSkuImages;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
@NoArgsConstructor
@ApiModel(value = "商品sku展示属性")
public class SkuInfoVo implements Serializable {

    @ApiModelProperty(value = "skuId")
    private Long skuId;

    @ApiModelProperty(value = "销售属性集合")
    private List<PmsAttr> attrs;

    @ApiModelProperty(value = "sku名称")
    private String skuName;

    @ApiModelProperty(value = "标题")
    private String skuTitle;

    @ApiModelProperty(value = "副标题")
    private String skuSubtitle;

    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    @ApiModelProperty(value = "展示图片集合")
    private List<PmsSkuImages> images;

    @ApiModelProperty(value = "sku组合集合")
    private List<String> descry;

    @ApiModelProperty(value = "折扣满减条件")
    private int fullCount;

    @ApiModelProperty(value = "折扣满减值")
    private BigDecimal discount;

    @ApiModelProperty(value = "是否可叠加折扣优惠")
    private String countStatus;

    @ApiModelProperty(value = "价格满减条件")
    private BigDecimal fullPrice;

    @ApiModelProperty(value = "价格满减值")
    private BigDecimal reducePrice;

    @ApiModelProperty(value = "是否可叠加价格优惠")
    private String priceStatus;

    @ApiModelProperty(value = "会员价格集合")
    private List<MemberPriceVo> memberPrice;

    @ApiModelProperty(value = "库存")
    private Long stock;
}
